package com.xunlai.infra.permission.business.dao.repository;

import com.xunlai.infra.permission.business.dao.entity.RouteBindPoster;
import com.xunlai.infra.permission.storage.repository.BaseAllRoundRepository;
import org.springframework.transaction.annotation.Transactional;

import java.util.Optional;

/**
 * @author liang
 * @date 8/11/23 6:13 PM
 */
@Transactional(rollbackFor = Exception.class)
public interface RouteBindPosterRepository extends BaseAllRoundRepository<RouteBindPoster,Long> {
    Optional<RouteBindPoster> findByRouteIdAndIdType(Long routeId,String idType);
}
